#ifndef _RECV_UPGRADE_TANK_PRO_H_
#define _RECV_UPGRADE_TANK_PRO_H_
#include "common.h"

void STank_PowerOn_ClearHost_Upgrade_State(void);

void OTA_Answer_get_version_CAN2(u8 device_type);
void OTA_Answer_Upgrade_handshake_CAN2(u8 device_type,u8 upgrade_par);
void OTA_Answer_Upgrade_data_CAN2(u8 device_type,u8 upgrade_par,u16 answer_serial_number,u8 KPack_num);
void STank_Upgrade_end_message(u8 upgrade_device,u8 upgrade_par,u8 retry_number);

void Splice_Upgrade_Data_Pack(u8 *upgrade_msg_buff,u8 data_len);

void Recv_Upgrade_Data_Process(u8 *upgrade_msg_buff,u8 data_len);
#endif
